/* eslint-disable */
// @ts-ignore
import request from '@/utils/http';

import * as API from './types';

/** 删除分析信息 POST /analyze-statistics/delCustomStatistics */
export async function analyzeStatisticsDelCustomStatisticsUsingPost({
  body,
  options,
}: {
  body: API.SimpleCustomStatisticsBob4ed8d2c091b4412B81b0e99cca3dfce;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingboolean>(
    '/analyze-statistics/delCustomStatistics',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 执行分析信息 POST /analyze-statistics/executeCustomStatistics */
export async function analyzeStatisticsExecuteCustomStatisticsUsingPost({
  body,
  options,
}: {
  body: API.SimpleCustomStatisticsBo01650dc5F52343f6907dBfa72040b8e7;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingListListobject>(
    '/analyze-statistics/executeCustomStatistics',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 查看分析信息 POST /analyze-statistics/getCustomStatistics */
export async function analyzeStatisticsGetCustomStatisticsUsingPost({
  body,
  options,
}: {
  body: API.SimpleCustomStatisticsBoa4a745dcE3124fa8A9b3791045376522;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingSimpleCustomStatisticsBo>(
    '/analyze-statistics/getCustomStatistics',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** list分析信息 POST /analyze-statistics/listCustomStatistics */
export async function analyzeStatisticsListCustomStatisticsUsingPost({
  body,
  options,
}: {
  body: API.SimpleCustomStatisticsBo26cf7581E5c9407a8dc629a4e4fc432b;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingListSimpleCustomStatisticsBo>(
    '/analyze-statistics/listCustomStatistics',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 保存分析信息 POST /analyze-statistics/saveCustomStatistics */
export async function analyzeStatisticsSaveCustomStatisticsUsingPost({
  body,
  options,
}: {
  body: API.SimpleCustomStatisticsBo24a6031eD7eb424f9cb8C445980c3023;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingboolean>(
    '/analyze-statistics/saveCustomStatistics',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 简单分析自定义统计 POST /analyze-statistics/simpleCustomStatistics */
export async function analyzeStatisticsSimpleCustomStatisticsUsingPost({
  body,
  options,
}: {
  body: API.SimpleCustomStatisticsBo3346b7c73ace4da5Aa82Ecd1a37652cb;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingListListobject>(
    '/analyze-statistics/simpleCustomStatistics',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 修改分析信息 POST /analyze-statistics/updateCustomStatistics */
export async function analyzeStatisticsUpdateCustomStatisticsUsingPost({
  body,
  options,
}: {
  body: API.SimpleCustomStatisticsBo926949d97f7f4216B4c5259f535c3255;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingboolean>(
    '/analyze-statistics/updateCustomStatistics',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
